/* 清除公共样式 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
  }
  // 用的有序列表，不需要再做样式格式化
/*   li{
    list-style: none;
  } */
  a{
    text-decoration: none;
    color: #fff;
  }
  // 一般元素点击后，都会出现竖线，如果是普通的div元素也还好，但如果是按键等，出现这个竖线是很不美观的,解决办法如下：
    div{
      caret-color: rgba(0, 0, 0, 0);
    };
/* 清除公共样式 */
  
  body{
    background-image: url(../images/desktop_1.jpg);
    background-repeat: repeat;
    transition: all 0.5s;
  }
  /* 大盒子属性 */
  .head {
    display: flex;
    margin: 0 auto;
    width: 1240px;
    flex-direction: column;

      /* 头部背景图片 */
    .headbg{
      display: flex;
      width: 100%;
      height: 350px;
      justify-content: space-around;
      align-items: center;

      .bg{
        width: 220px;
        height: 180px;
        cursor: pointer;
        text-align: center;
        border-radius: 10px;

        img{
          display: block;
          width: 100%;
          height: 100%;
          border-radius: 10px;
          box-shadow: 0px 4px 8px 5px #ccc;
        }
      }
        /* 添加点击类名样式 */
      .tpyf{
        opacity: 0.5;
        border: 2px solid red;
      }
        /* 添加点击类名样式 */
    }
  }
  /* 大盒子属性 */
  /* 头部背景图片 */
  
  /* case案例导航部分 */
  .case_nav{
    display: flex;
    width: 100%;
    height: 600px;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;

    /* case内容部分 */
    .case{
      width: 220px;
      height: 250px;
      border-radius: 10px;
      margin-top: 30px;
      position: relative;

      // 模块分组
      fieldset{
        width: 220px;
        height: 250px;
        border-radius: 10px;
        box-shadow: 0px 4px 8px 5px #ccc;

        // 分组标题
        legend{
          text-align: center;
          color: #fff;
        }

        // 列表模块
        ol{
          width: 100%;
          height: 100%;
          display: flex;
          justify-content: space-around;
          flex-wrap: wrap;
          flex-direction: column;
          margin-left: 30px;
          font-size: 16px;
          color: #fff;

          // 鼠标事件
          li>:hover{
            color: rgb(239, 121, 121);
            font-weight: bold;
          }
        }
      }
    }
  }

  /* 添加元素模块 */
  .add{
    width: 250px;
    height: 300px;
    background-color:#ccc;
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    padding-left: 10px;
    border-radius: 10px;
    position: fixed;
    top: 200px;
    right: 75px;
    visibility: hidden;
    color: #fff;
    box-shadow: 0px 4px 8px 5px #ccc;
    border: 1px solid #000;

    div{
      width: 100%;
      font-size: 16px;
      font-weight: bold;
    }

    
    h4{
      width: 100%;
      text-align: center;
      margin-top: 8px;
    }
    >:last-child{
      text-align: center;

      button{
        background-color: #fff;
        border: 1px solid #ccc;
        font-weight: bold;
        cursor: pointer;
        box-shadow: 0px 4px 8px 5px #ccc;
        border-radius: 2px;
        font-size: 14px;
        width: 70px;
      }
    }
  }

   /* 右侧导航栏模块 */
   .nav{
    display: flex;
    position: fixed;
    top: 300px;
    right: 0px;
    justify-content: space-between;
    flex-wrap: wrap;
    width: 70px;
    height: 100px;
    align-items: center;

    .nav_add,.nav_top{
      text-align: center;
      background-color: #ccc;
      color: #fff;
      width: 100%;
      height: 40px;
      line-height: 40px;
      border-radius: 10px;
      cursor: pointer;
      font-weight: bold;
      box-shadow: 0px 4px 8px 5px #ccc;
      border: 1px solid #888;
    }
   }



  /* 花里胡哨的东西 */
  .bubble {
    position: absolute;
    width: 200px;
    height: 200px;
    top: 50px;
    right: 50px;
    border-radius: 50%;
    box-shadow: inset 0 0 25px rgba(255, 255, 255, 0.25);
    animation: animate_4010 8s ease-in-out infinite;
  }
  
  .bubble:nth-child(2) {
    position: relative;
    zoom: 0.45;
    left: -10px;
    top: -100px;
    animation-delay: -4s;
  }
  
  .bubble:nth-child(3) {
    position: relative;
    zoom: 0.45;
    right: -80px;
    top: -300px;
    animation-delay: -6s;
  }
  
  .bubble:nth-child(4) {
    position: relative;
    zoom: 0.35;
    left: -120px;
    bottom: -200px;
    animation-delay: -3s;
  }
  
  .bubble:nth-child(5) {
    position: relative;
    zoom: 0.5;
    left: 0px;
    top: 200px;
    animation-delay: -5s;
  }
  
  @keyframes animate_4010 {
    0%,100% {
      transform: translateY(-20px);
    }
  
    50% {
      transform: translateY(20px);
    }
  }
  
  .bubble::before {
    content: '';
    position: absolute;
    top: 50px;
    left: 45px;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    background: #fff;
    z-index: 10;
    filter: blur(2px);
  }
  
  .bubble::after {
    content: '';
    position: absolute;
    top: 80px;
    left: 80px;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: #fff;
    z-index: 10;
    filter: blur(2px);
  }
  
  .bubble span {
    position: absolute;
    border-radius: 50%;
  }
  
  .bubble span:nth-child(1) {
    inset: 10px;
    border-left: 15px solid #0fb4ff;
    filter: blur(8px);
  }
  
  .bubble span:nth-child(2) {
    inset: 10px;
    border-right: 15px solid #ff4484;
    filter: blur(8px);
  }
  
  .bubble span:nth-child(3) {
    inset: 10px;
    border-top: 15px solid #ffeb3b;
    filter: blur(8px);
  }
  
  .bubble span:nth-child(4) {
    inset: 30px;
    border-left: 15px solid #ff4484;
    filter: blur(12px);
  }
  
  .bubble span:nth-child(5) {
    inset: 10px;
    border-bottom: 10px solid #fff;
    filter: blur(8px);
    transform: rotate(330deg);
  }
  /* 左侧气泡效定位加文字效果 */
  .yw{
    position: absolute;
    left: 50px;
    top: 50px;
    color: #fff;
    font-weight: bold;
    font-size: 18px;
    opacity: 0.5;
  }

  /* 新增案例模块改变位置排列 */
.addCases{
  align-content: flex-start
}

  /* 删除操作按钮 */
  .remove{
    position: absolute;
    top: 12px;
    right: 5px;
    width: 20px;
    height: 20px;
    border-radius: 3px;
    opacity: 0.3;
    cursor: pointer;
  }
